package com.hoshiicloud.shxping.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author yangcheng
 * @version 1.0
 * @title: ExtSkuQueryParam
 * @description: 商品SKU查询参数实体
 * @date 2019/6/4 16:15
 * @mail maiboyc@163.com
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class ExtSkuQueryParam {

    // 条数
    @ApiModelProperty(name = "pageSize", value = "条数", required = true, dataType = "java.lang.Long", example = "10")
    private String pageSize = "10";

    // 当前页
    @ApiModelProperty(name = "pageNumber", value = "当前页",required = true, dataType = "java.lang.Long", example = "1")
    private String pageNumber = "1";

    // 租户ID
    @ApiModelProperty(name = "companyid", value = "租户ID", dataType = "java.lang.Long", example = "3171776001692663893")
    private Long companyid;

    // 平台ID
    @ApiModelProperty(name = "platformid", value = "平台ID", dataType = "java.lang.Long", example = "3189609977215975479")
    private Long platformid;

    // 店铺ID
    @ApiModelProperty(name = "storeid", value = "店铺ID", dataType = "java.lang.Long", example = "3234906557745463516")
    private Long storeid;

    // SPUID
    @ApiModelProperty(name = "spuid", value = "SPUID", dataType = "java.lang.Long", example = "10")
    private Long spuid;

    // SKUID
    @ApiModelProperty(name = "skuid", value = "SKUID", dataType = "java.lang.Long", example = "10")
    private Long skuid;

    // Sku标题
    @ApiModelProperty(name = "skuTitle", value = "sku标题", dataType = "java.lang.String", example = "日本CPB肌肤之钥遮瑕持妆控油隔离妆前乳 黑色短管 30ml")
    private String skuTitle;

    // 售价
    @ApiModelProperty(name = "salePrice", value = "售价", dataType = "java.math.BigDecimal", example = "365.00")
    private BigDecimal salePrice;

    // 市场价
    @ApiModelProperty(name = "maketPrice", value = "市场价", dataType = "java.math.BigDecimal", example = "365.00")
    private BigDecimal maketPrice;

    // 成本价
    @ApiModelProperty(name = "costPrice", value = "成本价", dataType = "java.math.BigDecimal", example = "508.00")
    private BigDecimal costPrice;

    // 供应商
    @ApiModelProperty(name = "vendorId", value = "供应商", dataType = "java.lang.Long", example = "21")
    private Long vendorId;

    // sku图片
    @ApiModelProperty(name = "skuImage", value = "sku图片", dataType = "java.lang.String", example = "cbf1c881-8605-4382-b63f-8cadb0feb806.jpg")
    private String skuImage;

    // 属性
    @ApiModelProperty(name = "extendProperty", value = "属性", dataType = "java.lang.String", example = "{}")
    private String extendProperty;

    // 规格
    @ApiModelProperty(name = "extendSpec", value = "规格", dataType = "java.lang.String", example = "{}")
    private String extendSpec;

    // 仓库类型 1-单类仓库 2-多类仓库
    @ApiModelProperty(name = "dispatchPolicy", value = "仓库类型 1-单类仓库 2-多类仓库", dataType = "java.lang.Integer", example = "1")
    private Integer dispatchPolicy;

    // 单类仓库类别 ID
    @ApiModelProperty(name = "dispatchWhid", value = "单类仓库类别 ID", dataType = "java.lang.Long", example = "3234906557745463516")
    private Long dispatchWhid;

    // 多类仓库类别ID 集合   1:2:3
    @ApiModelProperty(name = "dispatchWhids", value = "多类仓库类别ID 集合 1:2:3", dataType = "java.lang.String", example = " ")
    private String dispatchWhids;

    // 是否库存足够才能下单 1 是 0 否
    @ApiModelProperty(name = "storeEnough", value = "是否库存足够才能下单 1 是 0 否", dataType = "java.lang.Integer", example = "0")
    private Integer storeEnough;

    // 修改人
    @ApiModelProperty(name = "updatedby", value = "修改人", dataType = "java.lang.String", example = "admin")
    private String updatedby;

    // 状态  0-待审批 1-审批未过 2-已上架 3-已下架
    @ApiModelProperty(name = "status", value = "0-待审批 1-审批未过 2-已上架 3-已下架", dataType = "java.lang.Integer", example = "2")
    private Integer status;

    // 是否删除 0-未删除 1-已删除
    @ApiModelProperty(name = "deleted", value = "是否删除 0-未删除 1-已删除", dataType = "java.lang.Integer", example = "0")
    private Integer deleted;

}
